import { postData } from '../../api/index';

export default function(){
    let sam_url = "/api/sample/upload";
    let postSampleUpload = <T>(data:T) => {
        try {
            const res = postData(sam_url,data);
            return res
        } catch (error) {

        }
    }
    return { postSampleUpload }
}